package ooday01;
/*Student类的测试类*/
public class StudentTest {
    public static void main(String[] args) {
        /*
        //创建一个学生对象
        Student s = new Student("DKC",22,"jsd202403","234");
        //访问成员变量
//        s.name = "DKC";
//        s.age =22;
//        s.classname="jsd202403";
//        s.stuId="234";
        //调用方法
        s.study();
        s.sayHi();
        s.playWith("WKJ");
        //创建另一个学生对象
        Student zg = new Student("张光",22,"jsd201403","123");
//        zg.name="张光";
//        zg.age=22;
//        zg.classname="jsd201403";
//        zg.stuId="123";
        zg.study();
        zg.sayHi();
        zg.playWith("李宁");

         */


    }
}
